package br.com.sms.email;

import javax.mail.Authenticator;
import javax.mail.PasswordAuthentication;


class Autenticacao extends Authenticator {
        public String username = null;
        public String password = null;


        public Autenticacao(String user, String pwd) {
                username = user;
                password = pwd;
        }

        protected PasswordAuthentication getPasswordAuthentication() {
                return new PasswordAuthentication (username,password);
        }
} 
